﻿using MaiPlanServer.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace MaiPlanServer.IServices.Production
{
    public interface ITechnologyServices
    {
        public Task<IEnumerable<pro_route>> GetPro_Routes(int PageIndex, int PageSize, string route_code, string route_name, string status);
        public Task<IEnumerable<pro_route_process>> GetPro_Route_Processes(string Id);
        public Task<IEnumerable<pro_process>> GetALLPro_Processes();
        public Task<int> GetPro_RoutesCount(string process_code, string process_name, string status);
        public Task<bool> DelPro_Routes(string Id);
        public Task<bool> AddPro_Routes(pro_route pro);
        public Task<bool> AddPro_Routes_Process(pro_route_process pro);
        public Task<pro_route> GetPro_Routes(string Id);
        public Task<bool> UpdatePro_Route(pro_route pro);
    }
}
